The hglm Package ( version 1
نویسندگان
چکیده
This vignette describes the R hglm package via a series of applications that may be of interest to applied scientists. The hglm package implements the estimation algorithm for hierarchical generalized linear models. The package fits generalized linear models with random effects, where the random effect may come from a conjugate exponential-family distribution (Gaussian, Gamma, Beta or inverse-Gamma). The design matrices both for the fixed and random effects can be explicitly specified, which allows fitting correlated random effects as well as random regression models. Fixed effects may also be modeled in the dispersion parameter. The hglm package produces estimates of fixed effects, random effects, variance components as well as their standard errors. Model diagnostics such as deviances and leverages can be visualized. At the end of this vignette, estimates from the hglm package are compared to the ones from GenStat for several examples previously published by Lee and Nelder.
منابع مشابه
The hglm Package ( Version 2 . 0 )
Abstract This vignette describes the R hglm package via a series of applications that may be of interest to applied scientists. The hglm package implements the estimation algorithm for hierarchical generalized linear models. The package fits generalized linear models with random effects, where the random effect may come from a conjugate exponential-family distribution (Gaussian, Gamma, Beta or ...
متن کاملThe hglm Package
This vignette describes the R hglm package via a series of applications that may be of interest to applied scientists. The hglm package implements the estimation algorithm for hierarchical generalized linear models. The package fits generalized linear models with random effects, where the random effect may come from a conjugate exponential-family distribution (Gaussian, Gamma, Beta or inverse-G...
متن کاملFitting Conditional and Simultaneous Autoregressive Spatial Models in hglm
We present a new version (> 2.0) of the hglm package for fitting hierarchical generalized linear models (HGLMs) with spatially correlated random effects. CAR() and SAR() families for conditional and simultaneous autoregressive random effects were implemented. Eigen decomposition of the matrix describing the spatial structure (e.g., the neighborhood matrix) was used to transform the CAR/SAR rand...
متن کاملhglm: A Package for Fitting Hierarchical Generalized Linear Models
We present the hglm package for fitting hierarchical generalized linear models. It can be used for linear mixed models and generalized linear mixed models with random effects for a variety of links and a variety of distributions for both the outcomes and the random effects. Fixed effects can also be fitted in the dispersion part of the model.
متن کاملModeling local item dependence with the hierarchical generalized linear model.
Local item dependence (LID) can emerge when the test items are nested within common stimuli or item groups. This study proposes a three-level hierarchical generalized linear model (HGLM) to model LID when LID is due to such contextual effects. The proposed three-level HGLM was examined by analyzing simulated data sets and was compared with the Rasch-equivalent two-level HGLM that ignores such a...
متن کامل